<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
  <h1>首页</h1>
    <a th:href="@{/hello}">测试@REQUESTMAPPER注解所标识的位置</a><br/>
    <a th:href="@{/abc}">测试@REQUESTMAPPER注解的value属性</a><br/>

    <form th:action="@{/hello}" method="get">
        <input type="submit" value="测试@RequestMapping的method属性">
    </form>
  <a th:href="@{/hello2}">测试@GETMAPPER</a><br/>
  <a th:href="@{/hello?username=admin}">测试@REQUESTMAPPER注解的params属性</a><br/>
  <a th:href="@{/aaa/test/ant}">测试@REQUESTMAPPER注解支持ant风格的路径</a><br/>
  <a th:href="@{/test/rest/admin/1}">测试@REQUESTMAPPER注解的value属性的占位符</a><br/>
<hr>
  <form th:action="@{/param/servletAPI}" method="get">
      <input type="text" name="username">
      <input type="password" name="password">
      <input type="submit" value="提交">
  </form><br/>
  <form th:action="@{/param}" method="get">
      <input type="text" name="userName">
      <input type="password" name="password">
      <input type="submit" value="提交">
  </form><br/>
  <form th:action="@{/param/pojo}" method="post">
      <input type="text" name="username">
      <input type="password" name="password">
      <input type="submit" value="提交">
  </form><br/>
<hr>
    <a th:href="@{/test/mav}">测试ModelAndView向请求域共享数据</a><br/>
    <a th:href="@{/test/model}">测试model向请求域共享数据</a><br/>
  <a th:href="@{/test/modelmap}">测试modelmap向请求域共享数据</a><br/>
  <a th:href="@{/test/map}">测试map向请求域共享数据</a><br/>
<hr>
  <a th:href="@{/test/session}">测试session向请求域共享数据</a><br/>
  <a th:href="@{/test/application}">测试application向请求域共享数据</a><br/>
<hr>
    <a th:href="@{/test/view/thymeleaf}">测试springmvc的视图thymeleafView</a><br/>
    <a th:href="@{/test/view/forward}">测试springmvc的视图InternalResourceView</a><br/>
  <a th:href="@{/test/view/redirect}">测试springmvc的视图RedirectView</a><br/>
</body>
</html>